package com.dj.web.reg.controller;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 注册表单
 * 
 * @author jaen.hsu.cn@gmail.com 2012-4-19 下午1:23:24
 */
public class RegUserForm {

    @NotNull
    @Size(min = 3, max = 20)
    private String loginId;

    @NotNull
    @Size(min = 5, max = 25)
    private String password;

    private String mobile;
    private String email;
    private String province;
    private String city;
    private String county;

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

}
